﻿<!DOCTYPE html>
<!--[if IE 8]> <html lang="zh-CN" class="ie8"> <![endif]-->
<html lang="zh-CN">

	<head>
		<meta charset="utf-8" />
		<title>登录 - {$web_name}</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="Keywords" content="登录" />
		<meta name="Description" content="登录" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
		<tc_include file="Public:head" />
		<link type="text/css" rel="stylesheet" href="__TMPL__Public/css/login.css">
	
	</head>

	<body>
		<div class="header login-header w990">
			<div class="logo-info">
				<a href="/" class="logo">
					<img src="{:sp_getad('logo-240*90')}" style="height: 70px;"/>
				</a>
				<span class="findpw">欢迎登录</span>
			</div>
		</div>
		<div class="login-content">
			<div class="login-banner" style="background: url('{:sp_getad('登录页横幅1902*600')}') center;">
				<div class="w990 pos-r">
					
					
					<div class="login-form">
						<div class="login-con pos-r">

							<div class="login-wrap">

								<div class="login-tit">
									还没有账号？
									<a href="{:U('user/register')}" class="regist-link color">
										立即注册
										<i>&gt;</i>
									</a>
								</div>

								<div class="login-radio">
									<ul>
										<li class="active" id="login2" onclick="setTab('login',2,2)">普通登录</li>
										
									</ul>
								</div>
								<div id="con_login_2" class="form">
									
										
										<div class="form-group item-name">
										
											<div class="form-control-box">
												<i class="icon"></i>
												<input type="text" id="username" name="username" value="" class="text" tabindex="1" placeholder="手机" autocomplete="off" />
											</div>

									
										</div>
										<div class="form-group item-password">
											<div class="form-control-box">
												<i class="icon"></i>
												<input type="password" id="password" name="password" value="" class="text" tabindex="2" placeholder="密码" autocomplete="off" />
											</div>

										</div>

										<div class="safety">
											<label>
												<input type="checkbox" value="1" name="rememberMe" id="rememberMe" class="checkbox" />
												<span>自动登录</span>
											</label>

											<a class="forget-password fr" href="{:U('user/forget_pwd')}">忘记密码？</a>
										</div>
										<div class="login-btn">
										
											<input type="button"  class="btn-img btn-entry bg-color" id="loginsubmit" value="立即登录" />
										</div>
										<div class="item-coagent">

											<a href="javascript:void(0);" class="website-login wx_login">
												<i class="weixin"></i>
											</a>

											<a href="javascript:void(0);" onclick='toQzoneLogin()' data-id="qq" class="website-login qq_login" >
												<i class="qq"></i>
												<span id="qqLoginBtn"></span>
											</a>
											<a href="https://api.weibo.com/oauth2/authorize?client_id=<?=C('wb_login.WEIBO_APP_KEY')?>&redirect_uri=<?=C('wb_login.WEIBO_PC_URL')?>&response_type=code&code=<?=md5(time())?>" data-id="weibo" class="last website-login weibo_login">
												<i class="sina"></i>
											</a>

										</div>
										

									
								</div>
								
								
							</div>

						</div>
					</div>

					
				</div>
			</div>
		</div>
		
		<tc_include file="Public:footer" />
		<script type="text/javascript" src="__TMPL__Home/User/js/login.js"></script>
	
		<script> 
			$(function(){
				$('.wx_login').click(function(){
					layer.open({
					  type: 2,
					  title: '微信登录页',
					  shadeClose: true,
					  shade: 0.8,
					  area: ['40%', '55%'],
					  content: '/user/weixin_login' //iframe的url
					}); 
				})
				
				
			})
			var childWindow;
            function toQzoneLogin()
            {
                childWindow = window.open("/user/qqlogin","TencentLogin","width=650,height=520,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
            } 
            
            function closeChildWindow()
            {
                childWindow.close();
            }
			
 
			
		</script>
		</div>
	</body>

</html>